package code.vista;

import javax.swing.JTable;
import javax.swing.border.LineBorder;
import javax.swing.table.DefaultTableModel;

public class Tabla extends JTable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3882589782565637966L;

	public Tabla() {
		super();
		DefaultTableModel modelo = new DefaultTableModel();
		modelo.setRowCount(5);
		modelo.setColumnCount(2);
		this.setModel(modelo);
		this.setAutoResizeMode(AUTO_RESIZE_ALL_COLUMNS);
		this.setBackground(new java.awt.Color(142,180,240));
		this.setBorder(new LineBorder(new java.awt.Color(0, 128, 255), 1, true));
		this.setFont(new java.awt.Font("Comic Sans MS", 3, 16));
		this.setForeground(new java.awt.Color(0,0,0));
		this.setEnabled(false);
	}

}
